from bs4 import BeautifulSoup
if __name__ == '__main__':
    fp = open('./bd.htm','r',encoding='utf-8')
    soup = BeautifulSoup(fp,'lxml')
    # print(soup)


    # page_text = response.text
    # soup = BeautifulSoup(page_text,'lxml')
    # print (soup.div)
    print(soup.find('div',class_='topbar'))